<script type="text/javascript">
    function _afterComplete(){
        jump(TP_ADMIN+'/Role');
    }
</script>
<div class="row-fluid">
    <div class="span12">
        <div class="box " style="margin-top:none;">
            <div class="box-header well" data-original-title="">
                <h2><i class="icon-edit"></i> {:L('common_permission_member_setup')}</h2>
            </div>
            <div class="box-content">
                <form class="form-horizontal" action="__ADMIN__/Role/addUser2Role" method="post" id="baseForm">
                    <fieldset>
                        <input type="hidden" name="id" value="{$id}" />
                        <div class="control-group">
                            <label class="control-label" for="name">{:L('common_group')}</label>
                            <div class="controls">
                                <span class="input-xlarge uneditable-input">{$name}</span>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">{:L('common_permission_member')}</label>
                            <div class="controls">
                                <volist id="userList" name="userList">
                                    <label class="checkbox inline">
                                        <input type="checkbox" value="{$userList.user_id}" name="user[]" <if condition="$userList.checked eq 1"> checked</if> > {$userList.account}
                                    </label>               
                                </volist>
                            </div>
                        </div>
                        <include file="Public:action"/>
                    </fieldset>
                </form>

            </div>
        </div>
    </div>
</div>